package com.gtt.lazy.domain;

import java.util.Calendar;

/**
 * 领域对象 - 沙发
 * 
 * @author 高甜甜
 * @date 2009-7-7
 */
public class Sofa {

	private int id; // 索引
	private String name; // 品名
	private String size; // 尺寸
	private double weight; // 重量
	private String packing; // 包装
	private String cloth; // 面料
	private String memo; // 备注
	private String number; // 数量
	private double prize; // 价格
	private String image; // 图片
	private boolean discounted; // 是否特价
	private boolean fresh; // 是否新品
	private Calendar publishDate; // 发布时间
	private String yunfei;// 运费
	private int recommend;

	public Sofa() {
		this.discounted = false;
		this.fresh = false;
		this.publishDate = Calendar.getInstance();
	}

	public Sofa(String name) {
		this();
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}

	public String getPacking() {
		return packing;
	}

	public void setPacking(String packing) {
		this.packing = packing;
	}

	public String getCloth() {
		return cloth;
	}

	public void setCloth(String cloth) {
		this.cloth = cloth;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public double getPrize() {
		return prize;
	}

	public void setPrize(double prize) {
		this.prize = prize;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public boolean isDiscounted() {
		return discounted;
	}

	public void setDiscounted(boolean discounted) {
		this.discounted = discounted;
	}

	public boolean isFresh() {
		return fresh;
	}

	public void setFresh(boolean fresh) {
		this.fresh = fresh;
	}

	public Calendar getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(Calendar publishDate) {
		this.publishDate = publishDate;
	}

	public int getRecommend() {
		return recommend;
	}

	public void setRecommend(int recommend) {
		this.recommend = recommend;
	}

	public String getYunfei() {
		return yunfei;
	}

	public void setYunfei(String yunfei) {
		this.yunfei = yunfei;
	}

}
